<?php
/*
 * Created on Oct 12, 2009
 *
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */
?>
<form action="<?=site_url(array('c' => 'cms_product', 'm' => 'edit_group'))?>" method="post" id="productGroupForm">
<input type="hidden" name="id" value="<?=$group['id']?>"/>
<table class="form-table" cellpadding="5" cellspacing="0" style="width: 100%;">
	<tbody>
		<tr>
			<th>Group Name: </th>
	    	<td class=""><input type="text" name="item_name" class="input-text required" value="<?=$group['name']?>"></td>
	    </tr>
		<tr>
			<th>Description: </th>
	    	<td><textarea name="item_description" rows="7" cols="37" class="input-textarea-small"><?=$group['description']?></textarea></td>
	    </tr>
		<tr>
	    	<th>Sort</th>
	    	<td><input type="text" name="item_sort" class="input-text required" value="<?=$group['sort']?>"></td>
	    </tr>
		<!--tr>
	    	<td>Parent Group</td>
	    	<td>
				<select name="group_parent">
					<option value="">Select one</option>
					<?php foreach($groups as $item):?>
					<option value="<?=$item['id']?>" <?= $item['id']==$group['parent']? 'selected' : '';?>>
						<?=$item['nam']?>
					</option>
					<?php endforeach;?>
				</select>
			</td>
	    </tr-->
	</tbody>
</table>
</form>